package 面向对象高级.内部类.局部内部类;

public class Test01 {
    public Test01() {
        Inner s1 = new Inner();
        s1.a = 10;
        Inner s2 = new Inner();
        s2.a = 20;
        Test01.Inner s3 = new Test01.Inner();
        System.out.println(s3.a);
    }

    class Inner {
        public int a = 5;
    }

    public static void main(String[] args) {
        Test01 t = new Test01();
        Inner r = t.new Inner();
        System.out.println(r.a);
    }
}

